package com.pactera.miyuangroup.filter;

import io.swagger.annotations.ApiParam;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 注入当前登录的User对象
 *
 * @author Wangwu
 * @create 2018-04-13 下午2:03
 **/
@Target(ElementType.PARAMETER)          // 可用在方法的参数上
@Retention(RetentionPolicy.RUNTIME)    // 运行时有效
public @interface CurrentUser {

}
